#define _CRT_SECURE_NO_WARNINGS
#include <stdio.h>
int nsk(int n, int k)
{
	if (k == 1)
		return n;
	return n * nsk(n, k - 1);
}
int main()
{
	printf("%d", nsk(2, 3));
	return 0;
}